from flask import Blueprint
from flask_restx import Api
from src.source_user.controller.userController import api_ns as user_ns
from src.source_store.controller.storeController import api_ns as store_ns


API_CONFIG_V1 = Blueprint('api', __name__)
app_api = Api(API_CONFIG_V1,version='1.0',
              title='后台管理系统文档汇总',
              description='后台管理系统接口模块详情')
# ... 加载配置和数据库部分省略
app_api.add_namespace(user_ns)
app_api.add_namespace(store_ns)
